package com.yunxin.core.infra.persistence.entity.contact;

import java.io.Serializable;
import java.util.Date;

/**
 * 触点消息发送任务详情表
 *
 * @author zero°
 * @since   2023-06-06
 */
public class ContactMessageSendTaskDetailDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 任务code
     */
    private String taskCode;

    /**
     * 消息主体
     */
    private String messageSubject;

    /**
     * 发送渠道 10.短信 20.微信 30.app
     */
    private Integer sendSource;

    /**
     * 消息模板id
     */
    private Long messageTemplateId;

    /**
     * 任务类型 1.被动触发(事件动作) 2.主动触发(定时任务)
     */
    private Integer taskType;

    /**
     * 消息类型 10.短信验证码 20.微信客服消息
     */
    private Integer messageType;

    /**
     * 发送类型 1.单发 2.群发
     */
    private Integer sendType;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public String getMessageSubject() {
        return messageSubject;
    }

    public void setMessageSubject(String messageSubject) {
        this.messageSubject = messageSubject;
    }

    public Integer getSendSource() {
        return sendSource;
    }

    public void setSendSource(Integer sendSource) {
        this.sendSource = sendSource;
    }

    public Long getMessageTemplateId() {
        return messageTemplateId;
    }

    public void setMessageTemplateId(Long messageTemplateId) {
        this.messageTemplateId = messageTemplateId;
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Integer getSendType() {
        return sendType;
    }

    public void setSendType(Integer sendType) {
        this.sendType = sendType;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}